import { createApp } from 'vue';  // 直接使用根目录的 vue
import router from "./router";
import { setupStore } from "@/store";
import "@/assets/styles/root.scss";
import "./assets/styles/global.scss";
import "virtual:svg-icons-register";
import App from './App.vue';
import 'element-plus/dist/index.css';

import zhCn from "element-plus/es/locale/lang/zh-cn";
import ElementPlus from "element-plus";

const app = createApp(App);
setupStore(app);

app.use(router);

app.use(ElementPlus, { locale: zhCn });

app.mount('#app');